Israel Ors' HuffmanAlgorithm Documentation

HuffmanAlgorithm.ShrinkWithProgress Method (Stream, String, Char[])

Build a frequency table and Huffman tree and shrinking the stream data to a new file. into a file. This function version, calls the PercentComplete event handler When anothe 1 percent compleated.

public void ShrinkWithProgress(
   Stream Data,
   string OutputFile,
   char[] Password
);

Parameters

Data
The data streem to shrink, shrinking starts from the position of the given stream as it was given and in the end of the function it's position won't be at the end of the stream and it won't be closed.
OutputFile
Path to a file to same the shrinked data in.
Password
A passward to add to the archive, to mark as "passward less" assign null instead.

Return Value

The expanded stream, positioned at the start.

Remarks

The given stream must be readable, seekable and it's length must exceed zero.

See Also

HuffmanAlgorithm Class | JadBenAutho.Tools Namespace | HuffmanAlgorithm.ShrinkWithProgress Overload List